# $Id$
#Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=recordproto
pkgver=1.14.2
pkgrel=2
pkgdesc="X11 Record extension wire protocol"
arch=('any')
url="https://xorg.freedesktop.org/"
license=('custom')
makedepends=('xorg-util-macros')
source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
sha1sums=('1f48c4b0004d8b133efd0498e8d88d68d3b9199c')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR=${pkgdir} install
  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
